package cn.edu.ctbu.demo1.repository;

import cn.edu.ctbu.demo1.domain.Sc;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ScRepository extends JpaRepository<Sc,Integer> {
    Page<Sc> findAll(Pageable pageable);
    List<Sc> findBySno(String sno);
}
